#ifndef __ADC_PROC_H__
#define __ADC_PROC_H__

#include "adc.h"

#define ADC_CHANNEL_NUM 4

typedef union {
    uint16_t data[ADC_CHANNEL_NUM];
    struct
    {
        uint16_t rf_wave;
        uint16_t temperature;
        uint16_t current;
        uint16_t voltage;
    } fields;
} adc_data_t;

extern adc_data_t adc_proc;

void ADC_PROC_Start();
void ADC_RecursiveMeanFilter();

#endif
